PhpOffice\PhpSpreadsheet\Calculation\Calculation D

Total Complexity 677
Dependencies 25
Dependents 43
Total lines 5,771
Lines of code 1,938
Logical lines of code 1,309
Comment lines 642
Methods 71
Properties 31

Methods 71

Method Rating Maintainability Complexity Lines of code
processTokenStack()
D
0
164 472
internalParseFormula()
D
0
150 396
executeNumericBinaryOperation()
D
32 34 95
calculateCellValue()
C
36 25 75
setLocale()
B
38 21 63
_calculateFormulaValue()
B
42 19 49
extractNamedRange()
A
44 16 40
resizeMatricesExtend()
A
49 15 34
resizeMatricesShrink()
A
50 15 30
showValue()
A
49 11 28
validateBinaryOperand()
A
50 11 26
extractCellRange()
A
48 10 32
showTypeDetails()
A
50 10 28
convertMatrixReferences()
A
46 9 37
evaluateDefinedName()
A
46 8 38
executeArrayComparison()
A
49 7 31
_translateFormulaToLocale()
S
51 7 27
checkMatrixOperands()
S
53 7 22
_translateFormulaToEnglish()
S
53 7 21
unwrapResult()
S
61 8 10
calculateFormula()
S
54 6 21
translateSeparator()
S
55 6 19
addDefaultArgumentValues()
S
55 6 19
wrapResult()
S
61 6 11
translateFormula()
S
54 5 21
dataTestReference()
S
57 5 17
getInstance()
S
62 5 12
getArgumentDefaultValue()
S
58 4 16
addCellReference()
S
58 4 15
localeFunc()
S
60 4 13
setArrayReturnType()
S
63 4 11
parseFormula()
S
62 4 11
loadLocales()
S
63 4 10
getMatrixDimensions()
S
58 3 15
boolToString()
S
66 4 8
getLocaleFile()
S
62 3 11
getValueFromCache()
S
65 3 9
executeBinaryComparisonOperation()
S
64 3 9
isImplemented()
S
70 3 5
getImplementedFunctionNames()
S
65 3 9
clearCalculationCacheForWorksheet()
S
73 2 5
renameCalculationCacheForWorksheet()
S
70 2 6
calculate()
S
69 2 7
saveValueToCache()
S
74 2 5
raiseFormulaError()
S
65 2 9
isNumericOrBool()
S
78 2 3
makeError()
S
78 2 3
getLocaleBoolean()
S
79 1 3
keyInExcelConstants()
S
79 1 3
getExcelConstants()
S
79 1 3
__construct()
S
70 1 6
flushInstance()
S
78 1 4
getDebugLog()
S
82 1 3
__clone()
S
80 1 3
getTRUE()
S
79 1 3
getFALSE()
S
79 1 3
getArrayReturnType()
S
80 1 3
getCalculationCacheEnabled()
S
82 1 3
setCalculationCacheEnabled()
S
77 1 4
enableCalculationCache()
S
81 1 3
disableCalculationCache()
S
81 1 3
clearCalculationCache()
S
81 1 3
setBranchPruningEnabled()
S
76 1 4
enableBranchPruning()
S
81 1 3
disableBranchPruning()
S
81 1 3
getLocale()
S
81 1 3
translateFormulaBlock()
S
64 1 9
getFunctions()
S
80 1 3
setSuppressFormulaErrors()
S
81 1 3
getSuppressFormulaErrors()
S
82 1 3
doNothing()
S
80 1 3